{foreach from=$errors item="error_message" key="error"}
	{if $error eq "INVALID_REQUEST"}
		<p class="error">{$error_message}</p>
	{elseif $error eq "INVALID_DATA"}
		<p class="error">{$error_message}</p>
	{elseif $error eq "REQUEST_FORM_NOT_EXIST"}
		<p class="error">Provided request form does not exist, please contact administrator</p>
	{elseif $error eq "INPUT_FORM_NOT_EXIST"}
		<p class="error">Provided input form does not exist, please contact administrator</p>
	{elseif $error eq "PARAMETERS_MISSED"}
		<p class="error">The system cannot proceed as some key parameters are missing</p>
	{elseif $error eq "MYSQL_ERROR"}
		{$error_message}
	{elseif $error eq "NOT_LOGGED_IN"}
		<p class="error">No logged in user found</p>
	{elseif $error eq "NOT_OWNER"}
		<p class="error">You're not owner of this listing</p>
	{elseif $error eq "EMPTY_EXPORT_DATA"}
		<p class="error">There is no data to export. Change your search criteria.</p>
	{elseif $error eq "EMPTY_EXPORT_PROPERTIES"}
		<p class="error">There are no selected properties. Select at least one property to export.</p>
    {elseif $error eq "CANT_CREATE_EXPORT_FILES"}
		<p class="error">Cannot create export files</p>
	{else}
		<p class="error">{$error} {$error_message}</p>
	{/if}	
{/foreach}